<div class="wide form">
    <fieldset>
        <legend>Pencarian Pintar</legend>
    <?php $form=$this->beginWidget('CActiveForm', array(
            'action'=>Yii::app()->createUrl($this->route),
            'method'=>'get',
    )); ?>

            <div class="row">
                    <?php echo $form->label($model,'date'); ?>
                    <?php
                        $this->widget('application.extensions.CJuiDateTimePicker.CJuiDateTimePicker',array(
                            'model'=>$model,
                            'attribute'=>'date',
                            'mode'=>'date',
                            'options'=>array(
                                'dateFormat' => 'dd/mm/yy',
                            ),
                        ));
                    ?>
            </div>

            <div class="row">
                    <?php echo $form->label($model,'time_start'); ?>
                    <?php
                        $this->widget('application.extensions.CJuiDateTimePicker.CJuiDateTimePicker',array(
                            'model'=>$model,
                            'attribute'=>'time_start',
                            'mode'=>'time',
                            'options'=>array(),
                        ));
                    ?>
            </div>

            <div class="row">
                    <?php echo $form->label($model,'time_end'); ?>
                    <?php
                        $this->widget('application.extensions.CJuiDateTimePicker.CJuiDateTimePicker',array(
                            'model'=>$model,
                            'attribute'=>'time_end',
                            'mode'=>'time',
                            'options'=>array(),
                        ));
                    ?>
            </div>

            <div class="row">
                    <?php echo $form->label($model,'participant'); ?>
                    <?php echo $form->textField($model,'participant'); ?>
            </div>

            <div class="row buttons">
                    <?php echo CHtml::submitButton('Cari'); ?>
            </div>

    <?php $this->endWidget(); ?>

    </fieldset>
</div><!-- form -->